package com.example.taximeter.bean;

/**
 * 角色-权限绑定
 */
public class RolePrivilege {

    private Integer id;

    private Integer roleid;

    private Integer privilegeid;

    private String privilegename;

    private Integer privilegeparent;

    private Integer leafnod;

    @Override
    public String toString() {
        return "RolePrivilege{" +
                "id=" + id +
                ", roleid=" + roleid +
                ", privilegeid=" + privilegeid +
                ", privilegename='" + privilegename + '\'' +
                ", privilegeparent=" + privilegeparent +
                ", leafnod=" + leafnod +
                '}';
    }

    public String getPrivilegename() {
        return privilegename;
    }

    public void setPrivilegename(String privilegename) {
        this.privilegename = privilegename;
    }

    public Integer getPrivilegeparent() {
        return privilegeparent;
    }

    public void setPrivilegeparent(Integer privilegeparent) {
        this.privilegeparent = privilegeparent;
    }

    public Integer getLeafnod() {
        return leafnod;
    }

    public void setLeafnod(Integer leafnod) {
        this.leafnod = leafnod;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRoleid() {
        return roleid;
    }

    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }

    public Integer getPrivilegeid() {
        return privilegeid;
    }

    public void setPrivilegeid(Integer privilegeid) {
        this.privilegeid = privilegeid;
    }
}
